#ifndef __ESP_WIFI_CONNECT_H__
#define __ESP_WIFI_CONNECT_H__

#include "../../main/usercfg.h"


/*弃用*/
#define ESP_WIFI_STA_SSID      "Xiaomi_121A"
#define ESP_WIFI_STA_PASS      "88888888"

#define ESP_WIFI_STA_MAXIMUM_RETRY  50
#define ESP_WIFI_SCAN_AUTH_MODE_THRESHOLD WIFI_AUTH_WPA_WPA2_PSK


esp_err_t wifi_connect(char* conf_ssid, char* conf_pwd);
void esp_wifi_mode_sta(void);

#endif // !__ESP_WIFI_CONNECT_H__
